AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Comunicación / Funciones DLNA/UPnP
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Finds a device based on its unique name (UDN).
Example
Device is upnpDevice
Device = UPNPFindDevice("uuid:72047cc4-1dd2-11b2-87b7-0000aaae85f5", 51300)
IF ErrorOccurred THEN
Info(ErrorInfo(errFullDetails))
ELSE
Info("Device found")
END
Syntax
<Result> = UPNPFindDevice(<Device name> , <Port> [, <Address> [, <Timeout>]])
<Result>: upnpDevice variable
Name of the upnpDevice variable containing the characteristics of the sought device.
<Device name>: Character string
Unique name (UDN) of device to find.
<Port>: Integer
Port number used for the search.
<Address>: Optional character string
Address on which the search socket is created.
<Timeout>: Optional integer or optional Duration
Maximum timeout expressed in seconds. This parameter can correspond to:
  • an integer corresponding to the number of seconds,
  • a Duration variable,
  • the duration in a readable format (e.g., '1s', '10cs' or '10ms').
This parameter corresponds to 5 seconds by default.
Remarks
If the device is not found, the ErrorOccurred variable is set to True.
Component: wd290device.dll
Versión mínima requerida
  • Versión 19
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 26/05/2022

Señalar un error o enviar una sugerencia | Ayuda local